<h1>GC</h1>
<h2>Lista de Turma</h2>

<table border="1">
  <thead>
    <tr>
      <th>Id</th>
      <th>Numero</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($gc_turmas as $gc_turma): ?>
    <tr>
        <td><?php echo link_to($gc_turma->getId(), 'turmas_edit', $gc_turma) ?></td>
      <td><?php echo $gc_turma->getNumero() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('alunos') ?>">Voltar para Alunos</a>
  
  <a href="<?php echo url_for('turmas_new') ?>">Adicionar Nova Turma</a>
